<style>
    .insert_address .manage-address-field{
        width: 177px;
    }
    .insert_address .search-label {
        width: 47px;
    }
</style>
<div class="hp-tab-newprd insert_address">

    <div class="newprd-s1">
        <div class="table-div">
            <div class="manage-address-div">
                <div class="small-select small-input column" style="clear:both">
                    <div class="manage-address-field"><div class="search-label">省:</div><?php print render($form['province']); ?></div>
                    <?php if(user_access("admin address")){ ?>
                        <div class="manage-address-field"><div class="search-label">新名称:</div><?php print render($form['input_province_name']); ?></div>
                        <div class="manage-address-field"><div class="search-label">国标码:</div><?php print render($form['national_province_id']); ?></div>
                    <?php } ?>
                </div>
                <?php if(user_access("admin address")){ ?>
                    <div class="manage-address-field">
                        <div class="small-select column" style="clear:both">
                            <?php print render($form['new_province_button']); ?><?php print render($form['edit_province_button']); ?><?php print render($form['delete_province_button']); ?>
                        </div></div>
                <?php } ?>
            </div>
            <div class="manage-address-div" >
                <div class="small-select small-input column" style="clear:both">
                    <div class="manage-address-field"><div class="search-label">市:</div><?php print render($form['city']); ?></div>
                    <?php if(user_access("admin address")){ ?>
                        <div class="manage-address-field"><div class="search-label">新名称:</div><?php print render($form['input_city_name']); ?></div>
                        <div class="manage-address-field"><div class="search-label">国标码:</div><?php print render($form['national_city_id']); ?></div>
                    <?php } ?>
                </div>
                <?php if(user_access("admin address")){ ?>
                    <div class="manage-address-field">
                        <div class="small-select column" style="clear:both">
                            <?php print render($form['new_city_button']); ?><?php print render($form['edit_city_button']); ?><?php print render($form['delete_city_button']); ?>
                        </div>
                    </div>
                <?php } ?>
                <div class="manage-address-div">
                    <div class="small-select small-input column" style="clear:both">
                        <div class="manage-address-field"><div class="search-label">县:</div><?php print render($form['county']); ?></div>
                        <?php if(user_access("admin address")){ ?>
                            <div class="manage-address-field"><div class="search-label">新名称:</div><?php print render($form['input_county_name']); ?></div>
                            <div class="manage-address-field"><div class="search-label">国标码:</div><?php print render($form['national_county_id']); ?></div>
                        <?php } ?>
                    </div>
                    <?php if(user_access("admin address")){ ?>
                        <div class="manage-address-field">
                            <div class="small-select column" style="clear:both">
                                <?php print render($form['new_county_button']); ?><?php print render($form['edit_county_button']); ?><?php print render($form['delete_county_button']); ?>
                            </div>
                        </div>
                    <?php } ?>
                </div>
                <div class="manage-address-div" >
                    <div class="small-select small-input column" style="clear:both">
                        <div class="manage-address-field"><div class="search-label">镇/乡:</div><?php print render($form['town']); ?></div>
                        <div class="manage-address-field"><div class="search-label">新名称:</div><?php print render($form['input_town_name']); ?></div>
                        <!--                 <div class="manage-address-field"><div class="search-label">国标码:</div>--><?php //print render($form['national_town_id']); ?><!--</div>-->
                    </div>
                    <div class="manage-address-field">
                        <div class="small-select column" style="clear:both;width: 220px">
                            <?php print render($form['new_town_button']); ?><?php print render($form['edit_town_button']); ?><?php print render($form['delete_town_button']); ?>
                        </div>
                    </div>
                </div>
                <div class="manage-address-div">
                    <div class="small-select small-input column" style="clear:both">
                        <div class="manage-address-field"><div class="search-label">村:</div><?php print render($form['village']); ?></div>
                        <div class="manage-address-field"><div class="search-label">新名称:</div><?php print render($form['input_village_name']); ?></div>
                        <!--              <div class="manage-address-field"><div class="search-label">国标码:</div>--><?php //print render($form['national_village_id']); ?><!--</div>-->
                    </div>
                    <div class="manage-address-field">
                        <div class="small-select column" style="clear:both;width: 220px">
                            <?php print render($form['new_village_button']); ?><?php print render($form['edit_village_button']); ?><?php print render($form['delete_village_button']); ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
</div>
<?php // file_put_contents("C:\\Users\\zhangyan\\Desktop\\debug.log",print_r($form,true));
 print drupal_render_children($form); ?>